/**
	PDP Design
	Stylesheet for the design of Parallel Languages Platform
	@author Sergio Rodriguez Lumley & Daniel Guerrero Martinez
*/
body{
	font:16px arial, sans;
	margin: 0px;
	padding: 0px;
	min-width: 980px;
	background: #FFF url('bgPage.jpg') center repeat;
}

@font-face {
    font-family: "Segoe Print";
    src: local("Segoe Print"), url('SegoePrint.ttf');
}

body > header, footer, article{
	position: relative;
	width: 760px;
	margin: auto auto 10px auto;
	padding: 25px 20px 25px 20px;
	border: 2px solid #556e5f;
	background-color: rgb(250, 255, 250);
	border-radius: 15px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

body > header{
	margin-top: 10px;
	padding: 10px;
	height: 80px;
	width: 780px;
	background: transparent url('header.png') no-repeat center;
}

body > footer{
	text-align: center;
	padding: 10px 18px 10px 18px;
	background: rgba(250, 255, 250, 0.2) url('bgPath.png') center top repeat-x;
	background-size: 200px 100%;
}

body > footer > p{
	padding: 0px;
	margin: 0px;
}

/************* Password/Theme/Language inputs ***********/
body > aside{
	display: inline;
	position: absolute;
	right: 30px;
	top: 0px;
}

body > aside > div{
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	text-align: right;
}

body > aside > div > div{
	text-align: right;
	position:relative;
	padding: 10px;
	z-index: 100;
	border: 2px solid #556e5f;
	background-color: rgb(250, 255, 250);
	border-radius: 10px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
	margin-top: 5px;
}

span.login, span.language, span.theme{
	background-color: rgba(250, 255, 250, 0.3);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border: 2px solid #556e5f;
	border-top: none;
	padding: 10px 5px 5px 5px;
}

span.login:hover, span.language:hover, span.theme:hover{
	cursor: pointer;
	background-color: rgba(220, 255, 220, 0.7);
}

body > aside div.login input[type="submit"]{
	padding: 5px !important;
}

body > aside div.language select{
	width: 150px;
	display: block;
}

body > aside div.language input[type="submit"]{
	padding: 5px !important;
	width: 150px !important;
}

body > aside div.language span.es{
	color: rgba(0, 0, 0, 0);
	background: url('es.png') center no-repeat;
}

body > aside div.language span.en{
	color: rgba(0, 0, 0, 0);
	background: url('en.png') center no-repeat;
}

body > aside a.pdpstyle{
	font-weight: bold;
}

/****************** Main div *****************/
body > div.s1{
	display: block;
	width: 800px;
	padding: 0px;
	margin: auto;
}

footer{
	padding-top: 5px;
	padding-bottom: 5px;
}

/******* Lists *********/
aside li, nav li{
	list-style-type: none;
}

aside ul, nav ul{
	padding: 0px;
}

/*************** NAVIGATOR of MENU***************/
body > nav{
	display: inline;
	position: absolute;
	margin-top: 250px;
}

body > nav > ul > li {
	display: block;
	height: 60px;
	width: 200px;
	margin-bottom: 10px;
}

body > nav > ul > li > a {
	display: block;
	text-align: left;
	text-decoration: none;
	font-weight: bold;
	height: 60px;
	color: #333333;
	margin: 0px 0px 0px 15px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	transition-property: background-color;
	transition-duration: 0.25s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.25s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.25s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.25s; /* Opera */
}

body > nav > ul > li > a:hover{
	background-color: rgba(140, 155, 140, 0.75);
}

body > nav > ul > li > a > span{
	position: relative;
	padding: 30px;
	margin: -2px 10px -25px 0px;
	display: inline-block;
	border: 2px solid #556e5f;
	background-color: rgba(250, 255, 250, 0.5);
	border-radius: 15px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/*************** NAVIGATOR of PATH ***************/

body > div > nav {
	margin:auto;
	position: relative;
	width: 800px;
}

body > div > nav > ul {
	margin: 0px auto 0px auto;
	padding: 0px;
	display:block;
	position: relative;
}

body > div > nav > ul > li {
	display: inline-block;
	position: relative;
	padding: 0px;
}

body > div > nav > ul > li > a{
	text-align: center;
	text-decoration: none;
	color: rgb(40, 50, 40);
	display: block;
	padding: 5px;
	margin-bottom: 5px;
	border-radius: 5px;
	background: rgba(100,200,100,0.5);
	max-width: 130px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	
	transition-property: background-color;
	transition-duration: 0.5s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.5s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.5s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.5s; /* Opera */
}

body > div > nav > ul > li  > a:hover, body > div > nav > ul:nth-child(2) > li > a:hover{
	box-shadow: 0px 0px 25px rgba(0, 150, 0, 0.9);
	background-color: rgba(250, 255, 250, 0.9);
}

body > div > nav > ul:first-child{
	width: 580px;
	background: rgba(250, 255, 250, 0.2) url('bgPath.png') center repeat;
	background-size: 200px 100%;
	border: 2px solid #556e5f;
	border-radius: 10px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
	padding: 5px 5px 0px 5px;
	z-index: 10;
}

body > div > nav > ul:nth-child(2) { /* Buttons back and next page (both) */
	margin-top: -43px;
	height: 35px;
	z-index: 1;
}

body > div > nav > ul:nth-child(2) > li{ /* Position of Back button (only this one)*/
	text-align: left;
	margin-left: -5px;
}

body > div > nav > ul:nth-child(2) > li:nth-child(2){ /* Position of Next button */
	float:right;
	margin-right: -5px;
}

body > div > nav > ul:nth-child(2) > li > a{
	border: 2px solid #556e5f;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
	width: 80px;
	padding: 10px 5px 10px 10px;
	margin-bottom: 0px; /* To avoid margin from general (body > div > nav > ul > li > a) */
	background: url('lAnterior.png') no-repeat right;
	background-size: contain;
	font-weight: bold;
	
	transition-property: background-color;
	transition-duration: 0.5s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.5s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.5s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.5s; /* Opera */
}

body > div > nav > ul:nth-child(2) > li:nth-child(2) > a{
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	background: url('lSiguiente.png') no-repeat left;
}

/**************** MENU ICONS *************/
body > nav > ul > li:first-child span{
	background-image: url('home.png');
}

body > nav > ul > li:nth-child(2) span{
	background-image: url('programmingLanguages.png');
}

body > nav > ul > li:nth-child(3) span{
	background-image: url('software.png');
}

body > nav > ul > li:nth-child(4) span{
	background-image: url('courses.png');
}

body > nav > ul > li:nth-child(5) span{
	background-image: url('help.png');
}

body > nav > ul > li:nth-child(6) span{
	background-image: url('config.png');
}
/************** Edit Options *************/
aside.editOptions{
	text-align: center;
	position: absolute;
	right: 0;
	left: 0;
	top: 30px;
	z-index: 20;
	margin-left: 300px;
}

aside.editOptions > a{
	margin-top: 15px;
	display: inline-block;
	text-decoration: none;
	color: #333;
	font-weight: bold;
	padding: 10px;
	background: rgba(100, 200, 100, 0.7);
	border-radius: 5px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
	transition-property: background-color;
	transition-duration: 0.5s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.5s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.5s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.5s; /* Opera */
}

aside.editOptions > a:hover{
	box-shadow: 0px 0px 25px rgba(0, 150, 0, 0.9);
	background-color: rgba(250, 255, 250, 0.9);
}

/************** Error block ***************/
aside.errorPanel {
	margin-top: 15px;
}

aside.errorPanel > p{
	font-weight: bold;
	padding: 5px;
	color: #b14d00;
	border: 2px solid #b14d00;
	border-radius: 15px;
	background-color: #ffd593;
}

p.warning {
	color: #b14d00;
	border-color: #b14d00;
	background-color: #ffd593;
}

p.error {
	color: #b10000;
	border-color: #b10000;
	background-color: #ff9393;
}

p.info {
	color: #41406f;
	border-color: #41406f;
	background-color: #9c9aff;
}

p.success{
	color: #3e6532;
	border-color: #3e6532;
	background-color: #dcffd1;
}

/************** Page Index ***************/
article > aside {
	display:block;
	position: relative;
	text-align: left;
    padding: 0px 0px 10px 0px;

    border: 2px dotted rgb(150, 150, 150);
    background: transparent url('bgPageIndex.png') center repeat;
	border-radius: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
}

article > aside a{
	display:block;
	text-decoration: none;
	color: #0A320A;
	padding-left: 15px;
	transition-property: background-color padding-left;
	transition-duration: 0.5s;
	transition-timing-function: ease-out;
	-moz-transition-property: background-color padding-left; /* Firefox 4 */
	-moz-transition-duration: 0.5s; /* Firefox 4 */
	-moz-transition-timing-function: ease-out;
	-webkit-transition-property: background-color padding-left; /* Safari and Chrome */
	-webkit-transition-duration: 0.5s; /* Safari and Chrome */
	-webkit-transition-timing-function: ease-out;
	-o-transition-property: background-color padding-left; /* Opera */
	-o-transition-duration: 0.5s; /* Opera */
	-o-transition-timing-function: ease-out;
}

article > aside a:hover{
	background-color: rgb(180, 255, 180);
	padding-left: 95px;
}

li.indexHeader{
	margin: 0px 0px 5px 5px;
	font-weight: bold;
	font-size: 1.3em;
	color: rgb(40, 50, 40);
}

li.h1 a{
	padding-left: 15px;
	font-weight: bold;
	font-size: 1em;
	color: rgb(50, 65, 50);
}

li.h2 a{
	padding-left: 25px;
	font-weight: bold;
	font-size: 1em;
	color: rgb(60, 85, 60);
}

li.h3 a{
	padding-left: 35px;
	font-size: 1em;
	color: rgb(70, 95, 70);
}

li.h4 a{
	padding-left: 45px;
	font-size: 1em;
	color: rgb(80, 105, 80);
}

li.h5 a{
	padding-left: 55px;
	font-size: 1em;
	color: rgb(90, 115, 90);
}

li.h6 a{
	padding-left: 65px;
	font-size: 1em;
	color: rgb(100, 140, 100);
}

/************** ARTICLE *************/

section {
	border-radius: 15px;
	border: 1px solid #1E3C1E;
	background-color: rgb(240, 245, 240);
	padding: 5px 10px 5px 10px;
	margin-bottom: 10px;
}

section section{
	border: 1px dashed;
	background-color: rgb(230, 235, 230);
}

/************* HEADERS ***************/
header {
	color: rgb(70, 95, 70);
	font-weight: bold;
	font-size: 2em;
	margin-bottom: 5px;
	font-family: "Segoe Print", arial, sans;
	border-bottom: 3px solid rgb(70, 95, 70);
	/*text-transform: capitalize;*/
}

body > header > h1{
	font-size: 1em;
	display: block;
	border-bottom: 1px solid rgb(70, 95, 70);
}

section > header{
	font-size: 1em;
}

h1{
	font-family: "Segoe Print", arial, sans;
	color: rgb(50, 60, 50);
	font-size: 1.7em;
	margin: 5px 0px;
}

h2{
	font-family: "Segoe Print", arial, sans;
	color: rgb(60, 75, 60);
	font-size: 1.5em;
	margin: 5px 0px;
}

h3{
	color: rgb(70, 90, 70);
	font-size: 1.3em;
	margin: 5px 0px;
}

h4{
	color: rgb(80, 105, 80);
	font-size: 1.2em;
	margin: 5px 0px;
}

h5{
	color: rgb(90, 120, 90);
	font-size: 1.1em;
	margin: 5px 0px;
}

h6{
	color: rgb(100, 140, 100);
	font-size: 1.0em;
	margin: 5px 0px;
}

/*************** Text and Font *******/
b{
	font-size: 14px;
	color: #4F7A88;
}

a{
	color: rgb(50, 100, 70);
}
/*************** CONSOLE ***********/
div#dialogcode{
	display: block;
	padding: 10px;
}

div#dialogcode > textarea{
	width: 770px;
    height: 530px;
    color: white;
    background-color: #333;
    font-family: monospace;
}

code > pre{
	background: #FAFAFA url('bgCode.png') repeat;
}
